package com.gl.battleship.services.managers;

import java.util.List;

import com.gl.battleship.domain.Game;
import com.gl.battleship.domain.Notification;
import com.gl.battleship.domain.Ship;
import com.gl.battleship.domain.User;
import com.gl.battleship.domain.exceptions.PlayerException;
import com.gl.battleship.services.exceptions.GameException;


public interface IGameManager {
	
	public String validateFleet(User user, String warToken, String fleet) throws GameException, PlayerException;
	
	public String shoot(String warToken, int x, String y, User user) throws GameException, PlayerException;

	public Game declareWar(User user, User opponent)  throws PlayerException, GameException;
	
	public String acceptWar(User user,String warToken) throws GameException;
	
	public String refuseWar(User user,String warToken) throws GameException;

	public String retiredWar(String nick) throws GameException;
	
	
	

}
